package com.example.medical.service;

import com.example.medical.entity.dto.AdminGetLogAffairsDto;
import com.example.medical.entity.pojo.*;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.medical.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【loging】的数据库操作Service
* @createDate 2024-04-04 23:59:46
*/
public interface LogingService extends IService<Loging> {

    Result AdminGetLogAffairs(AdminGetLogAffairsDto dto);

    boolean SaveLoging(Affairs checkAffairs, User user);

    boolean UserNextTrue(User checkUser,Affairs checkAffairs);
    boolean LeadershipNextTrue(Leadership checkLeadership,Affairs checkAffairs);
    boolean LeadershipNextFalse(Leadership checkLeadership,Affairs checkAffairs,String memo);

}
